﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Model.FileInfo
{
    [Serializable]
    [DataObject]
    public class FileRecordInfo
    {
        #region 属性
        ///<summary></summary>
        [Fieldndex("PrimaryKey")]
        [ColumnProperty(0, "uniqueidentifier", "")]
        public long ID { get; set; }
        ///<summary></summary>
        [ColumnProperty(-1, "varbinary", "")]
        public byte[] FileBuffer { get; set; }
        ///<summary></summary>
        [ColumnProperty(200, "nvarchar", "")]
        public String FileName { get; set; }
        ///<summary></summary>
        [ColumnProperty(23, "datetime", "")]
        public System.DateTime? CreateTime { get; set; }
        ///<summary></summary>
        [ColumnProperty(0, "uniqueidentifier", "")]
        public String UserId { get; set; }
        ///<summary></summary>
        [ColumnProperty(1000, "nvarchar", "")]
        public String FileTextData { get; set; }

        ///<summary></summary>
        [ColumnProperty(200, "nvarchar", "")]
        public String FullFileName { get; set; }
        #endregion
    }
}
